<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div>
	<table class="noborder">
		<tr>
			<td>申请部门</td>
			<td><pt:labels type="dept" argument1="${deptid }" single="true"></pt:labels> </td>
			<td>请(休)假人</td>
			<td><pt:labels type="user" argument1="${userid }" single="true"></pt:labels> </td>
		</tr>
		<tr>
			<td>开始时间</td>
			<td><input id="startdate" name="startdate" type="text"
				value="${startdate }" readonly="readonly"></td>
			<td>结束时间</td>
			<td><input id="enddate" name="enddate" type="text"
				value="${enddate }" readonly="readonly"></td>
		</tr>
		<tr>
			<td>是否撤销</td>
			<td><pt:code category="1000" code="${clear}"></pt:code></td>
			<td>请(休)假类型</td>
			<td><pt:code category="2030" code="${type}"></pt:code></td>
		</tr>
		<tr>
			<td>销假记录</td>
			<td><input id="recorder" name="recorder" type="text"
				value="${recorder }" readonly="readonly"></td>
			<td>销假时间</td>
			<td><input id="recordDate" name="recordDate" type="text"
				value="${recordDate }" readonly="readonly"></td>
		</tr>
		<tr>
			<td>请假原因</td>
			<td colspan="3"><textarea rows="3" name="reason" readonly="readonly">${reason }</textarea>
		</tr>
		<tr>
			<td>备&nbsp;&nbsp;注</td>
			<td colspan="3"><textarea name="remark" rows="3" readonly="readonly">${remark }</textarea></td>
		</tr>
	</table>
	<table>
		<tr>
			<td colspan="4">年休假: <input type="text" value="去年"
				style="width: 50px; border: 0px" readonly="readonly">剩年休假<input
				id="vacationCount" name="vacationCount" value="${vacationCount }"
				type="text" style="width: 50px; border: 0px" readonly="readonly">天, 现休<input
				id="vacationRemain" name="vacationRemain" type="text"
				value="${vacationRemain }" style="width: 50px; border: 0px" readonly="readonly">天

			</td>
		</tr>
		<tr>
			<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"
				value="今年" style="width: 50px; border: 0px" readonly="readonly">应有年休假<input
				id="vacationCount2" name="vacationCount2" type="text"
				value="${vacationCount2 }" style="width: 50px; border: 0px" readonly="readonly">天,剩
				<input id="vacationAdjust" name="vacationAdjust" type="text"
				value="${vacationAdjust }" style="width: 50px; border: 0px" readonly="readonly">天,
				现休<input id="vacationRemain2" name="vacationRemain2" type="text"
				value="${vacationRemain2 }" style="width: 50px; border: 0px" readonly="readonly">天
			</td>
		</tr>
		<tr>
			<td colspan="4">换休假: <input type="text" value="今年"
				style="width: 50px; border: 0px" readonly="readonly">应有换休假<input
				id="overtimeCount" name="overtimeCount" type="text"
				value="${overtimeCount }" style="width: 50px; border: 0px" readonly="readonly">天,已调
				<input id="overtimeRemain " name="overtimeRemain " type="text"
				value="${overtimeRemain  }" style="width: 50px; border: 0px" readonly="readonly">天,本次调
				<input id="overtimeAdjust " name="overtimeAdjust " type="text"
				value="${overtimeAdjust  }" style="width: 50px; border: 0px" readonly="readonly">天
			</td>
		</tr>
		<tr>
			<td>其&nbsp;&nbsp;他:<input id="other" name="other" type="text"
				value="${other }" readonly="readonly">
			</td>
		</tr>
	</table>
</div>
<div>
	<div id="caption">
		<h6>${licenseplateNumber}已有附件</h6>
	</div>
	<table>
		<c:forEach items="${attachmentSet }" var="attachment"
			varStatus="state">
			<tr>
				<td colspan="4"><a title="下载"
					href="${ctx}/servlet/annex?id=${attachment.id}">${attachment.upfileFileName}(${attachment.type})${attachment.fileTime
						}</a><span
					onclick="deleteAttachmentById('${attachment.id}','tr${state.index }')"
					class="delete" title="删除附件"></span></td>
			</tr>
		</c:forEach>
	</table>
</div>